//package com.educate.educenter.controller;
//
//import com.educate.educenter.entity.UcenterMember;
//import com.educate.educenter.service.UcenterMemberService;
//import org.springframework.beans.BeanUtils;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//
//@CrossOrigin
//@RestController
//@RequestMapping("/educenter/comment")
//public class CommentController {
//    @Autowired
//    private UcenterMemberService memberService;
//    @PostMapping("getInfoUc/{id}")
//    public UcenterMember getInfo(@PathVariable String id){
//        //根据用户id获取用户信息
//        UcenterMember ucenterMember = memberService.getById(id);
//        UcenterMember member = new UcenterMember();
//        BeanUtils.copyProperties(ucenterMember,member);
//        return member;
//    }
//
//}
